﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002BB RID: 699
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueStoryInfo : IMessage<ChessRogueStoryInfo>, IMessage, IEquatable<ChessRogueStoryInfo>, IDeepCloneable<ChessRogueStoryInfo>, IBufferMessage
	{
		// Token: 0x1700091C RID: 2332
		// (get) Token: 0x06001F5D RID: 8029 RVA: 0x000596BB File Offset: 0x000578BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueStoryInfo> Parser
		{
			get
			{
				return ChessRogueStoryInfo._parser;
			}
		}

		// Token: 0x1700091D RID: 2333
		// (get) Token: 0x06001F5E RID: 8030 RVA: 0x000596C2 File Offset: 0x000578C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueStoryInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700091E RID: 2334
		// (get) Token: 0x06001F5F RID: 8031 RVA: 0x000596D4 File Offset: 0x000578D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueStoryInfo.Descriptor;
			}
		}

		// Token: 0x06001F60 RID: 8032 RVA: 0x000596DB File Offset: 0x000578DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueStoryInfo()
		{
		}

		// Token: 0x06001F61 RID: 8033 RVA: 0x00059704 File Offset: 0x00057904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueStoryInfo(ChessRogueStoryInfo other) : this()
		{
			this.oJNNCENAHEG_ = other.oJNNCENAHEG_.Clone();
			this.cNLIBKKMGAB_ = other.cNLIBKKMGAB_;
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this.pLIIPNDMHGL_ = other.pLIIPNDMHGL_;
			this.gNFOHBAICKM_ = other.gNFOHBAICKM_.Clone();
			this.storyIdList_ = other.storyIdList_.Clone();
			this.mLMMAJBPGGJ_ = other.mLMMAJBPGGJ_;
			this.chessRogueMainStoryId_ = other.chessRogueMainStoryId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001F62 RID: 8034 RVA: 0x00059797 File Offset: 0x00057997
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueStoryInfo Clone()
		{
			return new ChessRogueStoryInfo(this);
		}

		// Token: 0x1700091F RID: 2335
		// (get) Token: 0x06001F63 RID: 8035 RVA: 0x0005979F File Offset: 0x0005799F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> OJNNCENAHEG
		{
			get
			{
				return this.oJNNCENAHEG_;
			}
		}

		// Token: 0x17000920 RID: 2336
		// (get) Token: 0x06001F64 RID: 8036 RVA: 0x000597A7 File Offset: 0x000579A7
		// (set) Token: 0x06001F65 RID: 8037 RVA: 0x000597AF File Offset: 0x000579AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool CNLIBKKMGAB
		{
			get
			{
				return this.cNLIBKKMGAB_;
			}
			set
			{
				this.cNLIBKKMGAB_ = value;
			}
		}

		// Token: 0x17000921 RID: 2337
		// (get) Token: 0x06001F66 RID: 8038 RVA: 0x000597B8 File Offset: 0x000579B8
		// (set) Token: 0x06001F67 RID: 8039 RVA: 0x000597C0 File Offset: 0x000579C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x17000922 RID: 2338
		// (get) Token: 0x06001F68 RID: 8040 RVA: 0x000597C9 File Offset: 0x000579C9
		// (set) Token: 0x06001F69 RID: 8041 RVA: 0x000597D1 File Offset: 0x000579D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PLIIPNDMHGL
		{
			get
			{
				return this.pLIIPNDMHGL_;
			}
			set
			{
				this.pLIIPNDMHGL_ = value;
			}
		}

		// Token: 0x17000923 RID: 2339
		// (get) Token: 0x06001F6A RID: 8042 RVA: 0x000597DA File Offset: 0x000579DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> GNFOHBAICKM
		{
			get
			{
				return this.gNFOHBAICKM_;
			}
		}

		// Token: 0x17000924 RID: 2340
		// (get) Token: 0x06001F6B RID: 8043 RVA: 0x000597E2 File Offset: 0x000579E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> StoryIdList
		{
			get
			{
				return this.storyIdList_;
			}
		}

		// Token: 0x17000925 RID: 2341
		// (get) Token: 0x06001F6C RID: 8044 RVA: 0x000597EA File Offset: 0x000579EA
		// (set) Token: 0x06001F6D RID: 8045 RVA: 0x000597F2 File Offset: 0x000579F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool MLMMAJBPGGJ
		{
			get
			{
				return this.mLMMAJBPGGJ_;
			}
			set
			{
				this.mLMMAJBPGGJ_ = value;
			}
		}

		// Token: 0x17000926 RID: 2342
		// (get) Token: 0x06001F6E RID: 8046 RVA: 0x000597FB File Offset: 0x000579FB
		// (set) Token: 0x06001F6F RID: 8047 RVA: 0x00059803 File Offset: 0x00057A03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueMainStoryId
		{
			get
			{
				return this.chessRogueMainStoryId_;
			}
			set
			{
				this.chessRogueMainStoryId_ = value;
			}
		}

		// Token: 0x06001F70 RID: 8048 RVA: 0x0005980C File Offset: 0x00057A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueStoryInfo);
		}

		// Token: 0x06001F71 RID: 8049 RVA: 0x0005981C File Offset: 0x00057A1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueStoryInfo other)
		{
			return other != null && (other == this || (this.oJNNCENAHEG_.Equals(other.oJNNCENAHEG_) && this.CNLIBKKMGAB == other.CNLIBKKMGAB && this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && this.PLIIPNDMHGL == other.PLIIPNDMHGL && this.gNFOHBAICKM_.Equals(other.gNFOHBAICKM_) && this.storyIdList_.Equals(other.storyIdList_) && this.MLMMAJBPGGJ == other.MLMMAJBPGGJ && this.ChessRogueMainStoryId == other.ChessRogueMainStoryId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001F72 RID: 8050 RVA: 0x000598D4 File Offset: 0x00057AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.oJNNCENAHEG_.GetHashCode();
			if (this.CNLIBKKMGAB)
			{
				num ^= this.CNLIBKKMGAB.GetHashCode();
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this.PLIIPNDMHGL != 0U)
			{
				num ^= this.PLIIPNDMHGL.GetHashCode();
			}
			num ^= this.gNFOHBAICKM_.GetHashCode();
			num ^= this.storyIdList_.GetHashCode();
			if (this.MLMMAJBPGGJ)
			{
				num ^= this.MLMMAJBPGGJ.GetHashCode();
			}
			if (this.ChessRogueMainStoryId != 0U)
			{
				num ^= this.ChessRogueMainStoryId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001F73 RID: 8051 RVA: 0x000599A1 File Offset: 0x00057BA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001F74 RID: 8052 RVA: 0x000599A9 File Offset: 0x00057BA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001F75 RID: 8053 RVA: 0x000599B4 File Offset: 0x00057BB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PLIIPNDMHGL != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.PLIIPNDMHGL);
			}
			this.storyIdList_.WriteTo(ref output, ChessRogueStoryInfo._repeated_storyIdList_codec);
			this.oJNNCENAHEG_.WriteTo(ref output, ChessRogueStoryInfo._repeated_oJNNCENAHEG_codec);
			this.gNFOHBAICKM_.WriteTo(ref output, ChessRogueStoryInfo._repeated_gNFOHBAICKM_codec);
			if (this.MLMMAJBPGGJ)
			{
				output.WriteRawTag(88);
				output.WriteBool(this.MLMMAJBPGGJ);
			}
			if (this.ChessRogueMainStoryId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.ChessRogueMainStoryId);
			}
			if (this.CNLIBKKMGAB)
			{
				output.WriteRawTag(112);
				output.WriteBool(this.CNLIBKKMGAB);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001F76 RID: 8054 RVA: 0x00059A94 File Offset: 0x00057C94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.oJNNCENAHEG_.CalculateSize(ChessRogueStoryInfo._repeated_oJNNCENAHEG_codec);
			if (this.CNLIBKKMGAB)
			{
				num += 2;
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this.PLIIPNDMHGL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PLIIPNDMHGL);
			}
			num += this.gNFOHBAICKM_.CalculateSize(ChessRogueStoryInfo._repeated_gNFOHBAICKM_codec);
			num += this.storyIdList_.CalculateSize(ChessRogueStoryInfo._repeated_storyIdList_codec);
			if (this.MLMMAJBPGGJ)
			{
				num += 2;
			}
			if (this.ChessRogueMainStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueMainStoryId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001F77 RID: 8055 RVA: 0x00059B54 File Offset: 0x00057D54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueStoryInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.oJNNCENAHEG_.Add(other.oJNNCENAHEG_);
			if (other.CNLIBKKMGAB)
			{
				this.CNLIBKKMGAB = other.CNLIBKKMGAB;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			if (other.PLIIPNDMHGL != 0U)
			{
				this.PLIIPNDMHGL = other.PLIIPNDMHGL;
			}
			this.gNFOHBAICKM_.Add(other.gNFOHBAICKM_);
			this.storyIdList_.Add(other.storyIdList_);
			if (other.MLMMAJBPGGJ)
			{
				this.MLMMAJBPGGJ = other.MLMMAJBPGGJ;
			}
			if (other.ChessRogueMainStoryId != 0U)
			{
				this.ChessRogueMainStoryId = other.ChessRogueMainStoryId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001F78 RID: 8056 RVA: 0x00059C13 File Offset: 0x00057E13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001F79 RID: 8057 RVA: 0x00059C1C File Offset: 0x00057E1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 58U)
				{
					if (num <= 48U)
					{
						if (num == 16U)
						{
							this.PLIIPNDMHGL = input.ReadUInt32();
							continue;
						}
						if (num != 48U)
						{
							goto IL_54;
						}
					}
					else if (num != 50U)
					{
						if (num != 56U && num != 58U)
						{
							goto IL_54;
						}
						this.oJNNCENAHEG_.AddEntriesFrom(ref input, ChessRogueStoryInfo._repeated_oJNNCENAHEG_codec);
						continue;
					}
					this.storyIdList_.AddEntriesFrom(ref input, ChessRogueStoryInfo._repeated_storyIdList_codec);
					continue;
				}
				if (num <= 88U)
				{
					if (num == 80U || num == 82U)
					{
						this.gNFOHBAICKM_.AddEntriesFrom(ref input, ChessRogueStoryInfo._repeated_gNFOHBAICKM_codec);
						continue;
					}
					if (num == 88U)
					{
						this.MLMMAJBPGGJ = input.ReadBool();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.ChessRogueMainStoryId = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.CNLIBKKMGAB = input.ReadBool();
						continue;
					}
					if (num == 120U)
					{
						this.ChessRogueSubStoryId = input.ReadUInt32();
						continue;
					}
				}
				IL_54:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000CE8 RID: 3304
		private static readonly MessageParser<ChessRogueStoryInfo> _parser = new MessageParser<ChessRogueStoryInfo>(() => new ChessRogueStoryInfo());

		// Token: 0x04000CE9 RID: 3305
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000CEA RID: 3306
		public const int OJNNCENAHEGFieldNumber = 7;

		// Token: 0x04000CEB RID: 3307
		private static readonly FieldCodec<uint> _repeated_oJNNCENAHEG_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x04000CEC RID: 3308
		private readonly RepeatedField<uint> oJNNCENAHEG_ = new RepeatedField<uint>();

		// Token: 0x04000CED RID: 3309
		public const int CNLIBKKMGABFieldNumber = 14;

		// Token: 0x04000CEE RID: 3310
		private bool cNLIBKKMGAB_;

		// Token: 0x04000CEF RID: 3311
		public const int ChessRogueSubStoryIdFieldNumber = 15;

		// Token: 0x04000CF0 RID: 3312
		private uint chessRogueSubStoryId_;

		// Token: 0x04000CF1 RID: 3313
		public const int PLIIPNDMHGLFieldNumber = 2;

		// Token: 0x04000CF2 RID: 3314
		private uint pLIIPNDMHGL_;

		// Token: 0x04000CF3 RID: 3315
		public const int GNFOHBAICKMFieldNumber = 10;

		// Token: 0x04000CF4 RID: 3316
		private static readonly FieldCodec<uint> _repeated_gNFOHBAICKM_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04000CF5 RID: 3317
		private readonly RepeatedField<uint> gNFOHBAICKM_ = new RepeatedField<uint>();

		// Token: 0x04000CF6 RID: 3318
		public const int StoryIdListFieldNumber = 6;

		// Token: 0x04000CF7 RID: 3319
		private static readonly FieldCodec<uint> _repeated_storyIdList_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x04000CF8 RID: 3320
		private readonly RepeatedField<uint> storyIdList_ = new RepeatedField<uint>();

		// Token: 0x04000CF9 RID: 3321
		public const int MLMMAJBPGGJFieldNumber = 11;

		// Token: 0x04000CFA RID: 3322
		private bool mLMMAJBPGGJ_;

		// Token: 0x04000CFB RID: 3323
		public const int ChessRogueMainStoryIdFieldNumber = 12;

		// Token: 0x04000CFC RID: 3324
		private uint chessRogueMainStoryId_;
	}
}
